﻿<!--
	RegExpress
	
	Copyright (c) 2010, Daniel McGaughran
	
	Licensed under the Apache Licence, Version 2.0 (the "Licence");
	you may not use this file except in compliance with the Licence.
	You may obtain a copy of the License at
	
		http://www.apache.org/licenses/LICENSE-2.0
	
	Unless required by applicable law or agreed to in writing, software
	distributed under the Licence is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the Licence for the specific language governing permissions and
	limitations under the Licence.
	
	-->

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">


	<Style TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Verdana, Arial" />
		<Setter Property="FontSize" Value="24" />
		<Setter Property="SnapsToDevicePixels" Value="True" />
		<Setter Property="Foreground" Value="{DynamicResource WindowTextBrush}" />
	</Style>


	<Style TargetType="{x:Type TextBlock}" x:Key="TitleHeading" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />

		<Setter Property="FontSize" Value="48" />
		<Setter Property="Foreground" Value="{DynamicResource HeadingTextBrush}" />
		<Setter Property="Margin" Value="0,0,0,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="SubHeading" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />

		<Setter Property="FontSize" Value="36" />
		<Setter Property="Foreground" Value="{DynamicResource HeadingTextBrush}" />
		<Setter Property="Margin" Value="0,0,0,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="CitationText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Right" />
		<Setter Property="VerticalAlignment" Value="Center" />

		<Setter Property="Foreground" Value="{DynamicResource CaptionTextBrush}" />
		<Setter Property="Margin" Value="0,0,0,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="LargeCaptionText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="TextWrapping" Value="Wrap" />

		<Setter Property="FontSize" Value="36" />
		<Setter Property="Margin" Value="0,0,0,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="ExampleText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="TextWrapping" Value="Wrap" />
		<Setter Property="FontFamily" Value="Consolas, Courier New" />
		<Setter Property="Foreground" Value="{DynamicResource LabelTextBrush}" />

		<Setter Property="FontSize" Value="36" />
		<Setter Property="Margin" Value="16,0,16,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="CaptionText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="TextWrapping" Value="Wrap" />

		<Setter Property="Margin" Value="0,0,0,8" />
		<Setter Property="Padding" Value="4,0" />
	</Style>


	<Style TargetType="{x:Type TextBlock}" x:Key="LabelText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Foreground" Value="{DynamicResource LabelTextBrush}" />

		<Setter Property="Margin" Value="0,0,4,0" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="SettingLabel" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Left" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Foreground" Value="{DynamicResource LabelTextBrush}" />
		<Setter Property="FontSize" Value="18" />
	</Style>

	<Style TargetType="{x:Type TextBlock}" x:Key="ButtonText" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Foreground" Value="{DynamicResource ButtonFgndBrush}" />
		<Setter Property="FontSize" Value="18" />
	</Style>
	


	<Style TargetType="{x:Type TextBlock}" x:Key="TabLabel" BasedOn="{StaticResource {x:Type TextBlock}}">
		<Setter Property="HorizontalAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Foreground" Value="{StaticResource TabPanelFgndBrush}" />

		<Style.Triggers>
			<DataTrigger Value="True" Binding="{Binding Path=IsSelected,
					RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type TabItem}}}">
				<Setter Property="Foreground" Value="{StaticResource HeadingTextBrush}" />
			</DataTrigger>
		</Style.Triggers>
	</Style>

	
</ResourceDictionary>